﻿namespace VkontakteSharp.Model
{
    //5: UserAuthorizationFailException
    //4: Incorrect signature.
    //113: Invalid user id.
    //125:  Invalid group id.
    //100: One of the parameters specified was missing or invalid.
    //6: Too many requests per second.
    //7: Permission to perform this action is denied by user.
    //15: Access denied: groups list of this user are under privacy.
    //170: Access to user's friends list denied.
    //203: Access to the group is denied.
    //220: Access to status denied.
    //221: User disabled track name broadcast.
    //260: Access to the groups list is denied due to the user's privacy settings.
    //500: Permission denied. You must enable votes processing in application settings.
    //1: Unknown error occurred.
    //2: Application is disabled. Enable your application or use test mode.
    //10: Internal server error.
    //103: Out of limits.
    public class VkError
    {
        [JsonMapping("error_code", JsonMapping.MappingType.Primitive)]
        public int Code { get; set; }
        [JsonMapping("error_msg", JsonMapping.MappingType.Primitive)]
        public string Message { get; set; }
    }
}
